this is SosReverter experiments and data
In the NVDCVE folder, the CVE folder is the crawled CVE data from 2015 to 2023, and the CVEdataset is the processed data for query.
We will first run demos to verify SosRverteris working.
Can check if demos is working well by running the above deom from our demos
python3.7 Sosreverter.py --conf=demos/TypeII/insert/method-arg/reverter.conf
In /programsetup/[program], a python driver is provided run [program] experiments,we can run all the experiments using the following command
python3.7 driver.py --data=cve-data.json
we can also manually run the Tool later by run following command:
python3.7 driver.py --data=cve-data.json --only-setup
after setting up, we can run experiment manually
python3.7 Sosreverter.py --conf=/path/to/configuration
run CVE-2022-0909 and cve-2022-1122 as examples
cd programsetup/libtiff &
python3.7 driver.py --data=cve-data.json --only-setup
cd programsetup/openjpeg &
python3.7 driver.py --data=cve-data.json --only-setup
next step is run SosReverter with experiment configuration:
python3.7 Sosreverter.py --conf=/data/backport/libtiff-cve/28/reverter.conf
python3.7 Sosreverter.py --conf=/data/backport/openjpeg-cve/1/reverter.conf
They are benchmark programs
- integrate Sosbench into Magma in future work.
- The code for the SosReverter tool is currently being organized, and we will soon release it on github.